Piwik\Plugins\ScheduledReports\SubscriptionModel S

Total Complexity 27
Dependencies 9
Dependents 2
Total lines 165
Lines of code 113
Logical lines of code 63
Comment lines 5
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
unsubscribe()
A
43 10 52
updateReportSubscriptions()
A
51 8 26
getReportSubscriptions()
S
67 2 7
__construct()
S
80 1 3
getSubscription()
S
78 1 3
removeSubscription()
S
78 1 3
generateToken()
S
77 1 3
tokenExists()
S
77 1 3
getDb()
S
81 1 3
install()
S
67 1 10